<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>二维码登录</title>
    <script src="http://rescdn.qqmail.com/node/ww/wwopenmng/js/sso/wwLogin-1.0.0.js"></script>
    <style>
      .impowerBox .qrcode {
        width: 200px;
      }
      .impowerBox .title {
        display: none;
      }
      .impowerBox .info {
        width: 200px;
      }
      .status_icon {
        display: none !important;
      }
      .impowerBox .status {
        text-align: center;
      }
    </style>
  </head>
  <body>
    <div id="qywx_login"></div>
    <script>
      const appid = "wx77ed855233bbab23";
      const agentid = "1000005";
      const state = "web-login@pc";

      function initWwLogin() {
        window.WwLogin({
          id: "qywx_login",
          appid,
          agentid,
          redirect_uri: "http://4a40c799.ngrok.io/auth",
          state
        });
      }
      initWwLogin();
    </script>
  </body>
</html>
